let tips = function(info, type) {
  return this.$alert(info, '提示', {
    confirmButtonText: '确定',
    center: true,
    roundButton: true,
    customClass: 'messageBox',
    cancelButtonClass: 'is-plain el-button--primary',
    type: type
  })
}
let confirm = function(info) {
  return this.$confirm(info, '提示', {
    confirmButtonText: '确定',
    cancelButtonText: '取消',
    center: true,
    roundButton: true,
    customClass: 'messageBox',
    cancelButtonClass: 'is-plain el-button--primary',
    type: 'warning'
  }).catch(() => {})
}
export {
  tips,
  confirm
}



// WEBPACK FOOTER //
// ./src/assets/js/tips.js